# coding:utf-8
# author:frank
# date:2024/12/27

class Pet:
    def __init__(self,name,age):
        print('==pet(init)==')
        self.name=name
        self.age=age

class Animal:
    def __init__(self,color,types):
        print('==animal(init)==')
        self.color=color
        self.types=types

class Dog(Pet,Animal):
    def __init__(self,color,types,name,age):
        super(Dog,self).__init__(name,age)
        super(Pet,self).__init__(color,types)

Dog("yellow",'dog','baby',30)
